package cn.sang.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import cn.sang.model.vo.IndexCompositionListVO;
import cn.sang.util.AjaxResult;

public interface CompositionService {
	
	public List<IndexCompositionListVO> indexCompositionList();
	
	//上传作文
	public AjaxResult uploadComposition(HttpServletRequest request,
			@RequestParam() MultipartFile compositionFile);
	
	
}
